void main()
{
	gl_FrontColor = gl_Color;
	gl_Position = ftransform();
	gl_TexCoord[0] = gl_MultiTexCoord0;
}

FRAGMENT

uniform sampler2D color;

/*
 * draws only alpha map
 */
void main()
{
	vec4 c = texture2D(color,gl_TexCoord[0].st);
	gl_FragColor = vec4(0,0,0,c.a);
}
